export default {
  changeCurrentType(state, param) {
    state.currentType = param;
  },
  /* 设置校验过的手机号
   * params  phone: 手机号  hasAccount: 是否拥有账号
   */
  setUserPhoneValidate(state, params) {
    state.userPhoneValidate[params.phone] = {
      hasAccount: params.hasAccount,
      time: new Date().getTime()
    }
  }
}
